<?php
function smarty_block_arclist($params, $content, &$smarty)
{   
     $row = $params['from'];
     $str='';
     foreach($row as $k=>$v){
        $s=$content;
        foreach($v as $m=>$n){
            $s=str_replace("[\$field.$m]", $n, $s);
        }
        $str.=$s;
     }
     return $str;
}

?>
